<?php

namespace App\Kuafu\CustomPayment\Enum;


class CustomPaymentEnum
{
    const RECKON_TYPE_INCOME   = 1;
    const RECKON_TYPE_DISCOUNT = 2;

    const RECKON_TYPE_MAP = [
        self::RECKON_TYPE_INCOME   => '计入实收',
        self::RECKON_TYPE_DISCOUNT => '计入优惠'
    ];


    const IS_INVOICE_YES = 1;
    const IS_INVOICE_NO  = 0;

    const IS_INVOICE_MAP = [
        self::IS_INVOICE_YES => '是',
        self::IS_INVOICE_NO  => '否'
    ];

    const STATUS_ON  = 0;
    const STATUS_OFF = 1;

    const STATUS_MAP = [
        self::STATUS_OFF => '暂停',
        self::STATUS_ON  => '正常'
    ];

    const TYPE_DEFAULT = 1;
    const TYPE_CUSTOM  = 2;

    const TYPE_MAP = [
        self::TYPE_DEFAULT => '默认',
        self::TYPE_CUSTOM  => '自定义'
    ];

}
